package com.mrdeer.iot.constant;

import com.mrdeer.iot.bean.ChannelInfo;
import io.netty.channel.ChannelId;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author: xie jianchu
 */
public class DriverContext {

    public static String Global_IOT_Redis_key;

    /**
     * 全局Netty Channel管理器
     */
    public static final Map<ChannelId, ChannelInfo> CHANNEL_INFO_MAP = new ConcurrentHashMap<>();

    /**
     * 全局Netty Channel 管理器
     */
    public static final Map<String, ChannelInfo> SN_CHANNEL_INFO_MAP = new ConcurrentHashMap<>();
}
